<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs for page function_login.php</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="file-name">/includes/function_login.php</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-functions">Functions</a>
			</div>
	<div class="info-box-body">	
		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">登录相关函数</p>
<p class="description"><p>$Id: _includes---function_login.php.html 171 2010-10-22 09:04:17Z bwanglei@gmail.com $</p></p>
		
			</div>
</div>
		

	
	
	
	<a name="sec-functions"></a>	
	<div class="info-box">
		<div class="info-box-title">Functions</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<span class="disabled">Functions</span>
		</div>
		<div class="info-box-body">	
			<a name="functionapf_get_user" id="functionapf_get_user"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">apf_get_user</span> (line <span class="line-number">29</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">根据用户名获取用户数据</p>
	<ul class="tags">
				<li><span class="field">return:</span> array</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">user_data</span>
		<span class="method-name">
			apf_get_user
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$username</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$mysql_conn</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$username</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$mysql_conn</span>			</li>
				</ul>
		
	
</div>
<a name="functionapf_is_login" id="functionapf_is_login"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">apf_is_login</span> (line <span class="line-number">86</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">检查是否已经登录，并返回</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			apf_is_login
		</span>
				()
			</div>

		
	
</div>
<a name="functionapf_login" id="functionapf_login"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">apf_login</span> (line <span class="line-number">10</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">登录检查函数</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			apf_login
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$username</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$password</span>, <span class="var-type"></span>&nbsp;<span class="var-name">$mysql_conn</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$username</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$password</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$mysql_conn</span>			</li>
				</ul>
		
	
</div>
<a name="functionapf_logout" id="functionapf_logout"><!-- --></a>
<div class="oddrow">
	
	<div>
		<span class="method-title">apf_logout</span> (line <span class="line-number">108</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">退出登录</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			apf_logout
		</span>
				()
			</div>

		
	
</div>
<a name="functionapf_set_login" id="functionapf_set_login"><!-- --></a>
<div class="evenrow">
	
	<div>
		<span class="method-title">apf_set_login</span> (line <span class="line-number">61</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">设置 cookie 用户信息</p>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			apf_set_login
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$user_data</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$user_data</span>			</li>
				</ul>
		
	
</div>
		</div>
	</div>
	
	<p class="notes" id="credit">
		Documentation generated on Tue, 06 Jul 2010 19:18:45 +0800 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>